package com.peter.api.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peter.api.model.dto.interfaceInfoDTO.InterfaceInfoQueryRequest;
import com.peter.api.model.entity.InterfaceInfo;
import com.peter.api.model.entity.Post;
import com.peter.api.model.vo.InterfaceInfoVO;

import javax.servlet.http.HttpServletRequest;


/**
* @author 李皮特
* @description 针对表【interface_info(接口信息)】的数据库操作Service
* @createDate 2024-11-05 23:27:22
*/
public interface InterfaceInfoService extends IService<InterfaceInfo> {

    void validInterfaceInfo(InterfaceInfo post, boolean add);

    


    QueryWrapper<InterfaceInfo> getQueryWrapper(InterfaceInfoQueryRequest interfaceInfoQueryRequest);

    InterfaceInfoVO getInterfaceInfoVO(InterfaceInfo post, HttpServletRequest request);

    Page<InterfaceInfoVO> getInterfaceInfoVOPage(Page<InterfaceInfo> postPage, HttpServletRequest request);
}
